<template>
<div class="m-content">
	<AppHeader></AppHeader>
		<div class="warp">
			<div class="m-ncontent">
				{{ content }}
			</div>
		</div>
	<Footer></Footer>	
</div>	
</template>
<style>
	.m-ncontent{
		font-size:16px;
		line-height:25px;
		margin:40px 0px
	}
</style>
<script>
	import Vue from 'vue';
	import { Message } from 'element-ui';
	import AppHeader from '@/components/Header';
	import Footer from '@/components/Footer';	
	export default {
		name: 'notice',
		components: {
		  AppHeader,
		  Footer, 
		},
		data () {
			return {
			  'content':'',
			}
		},
		created:function(){
			var that = this;
			var id = that.$route.query.id;
			that.axios.get('/yan-web/notice/record',{params:{'noticeId':id}},{
			    headers: {
			          'Content-type': 'application/json;charset=UTF-8'
			    }
			})
			.then(function (response) {
				if(response.data.status){
					that.content = response.data.model.content
				}
			})	
		},
	}	
</script>

